home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Content Filter / Proxomitron.exe / file0010.bin < prev    next >
Encoding:
Text File  |  1999-10-17  |  12.7 KB  |  521 lines

  1. ##
  2. ## Proxomitron Config File
  3. ##
  4.  
  5. [Global]
  6. Enable = TRUE
  7. FreezeGIF = TRUE
  8. FilterHTML = TRUE
  9. FilterHeadersOut = TRUE
  10. FilterHeadersIn = TRUE
  11. EnableProxy = FALSE
  12. EnableAutoRun = FALSE
  13. ForceTextures = FALSE
  14. NoTextures = FALSE
  15. SysTray = TRUE
  16. Back.BMP = "..\Textures\DarkWood.BMP"
  17. Inset.BMP = "..\Textures\BurlWood.BMP"
  18. Face1.BMP = "..\Textures\BurlWood.BMP"
  19. Face2.BMP = "..\Textures\LtDiagWood.BMP"
  20. Button.BMP = "..\Textures\BluGrayButton.BMP"
  21. Port = 8080
  22.  
  23. [HTTP headers]
  24. In = FALSE
  25. Out = TRUE
  26. Key = "Accept-encoding: prevent webpage encoding (out)"
  27. Match = "*"
  28.  
  29. In = FALSE
  30. Out = FALSE
  31. Key = "Authorization: Example password entry (out)"
  32. URL = "www.needspassword.com/this/area/protected.html"
  33. Replace = "basic bWljaGllOm5lb24temVicmE="
  34.  
  35. In = TRUE
  36. Out = FALSE
  37. Key = "Content-Type: character set filter (in)"
  38. Match = "text/html;*charset*"
  39. Replace = "text/html"
  40.  
  41. In = TRUE
  42. Out = FALSE
  43. Key = "Content-Type: Fix Javascript mime types"
  44. URL = "*.js(^?)"
  45. Match = "text/plain"
  46. Replace = "text/javascript"
  47.  
  48. In = TRUE
  49. Out = FALSE
  50. Key = "Content-Type: Fix MIDI mime types"
  51. URL = "*.mid((^?)|#)"
  52. Match = "text/plain"
  53. Replace = "audio/mid"
  54.  
  55. In = TRUE
  56. Out = FALSE
  57. Key = "Content-Type: Fix MP3 mime types"
  58. URL = "*.mp3((^?)|#)"
  59. Match = "text/plain"
  60. Replace = "audio/x-mpeg"
  61.  
  62. In = FALSE
  63. Out = FALSE
  64. Key = "Content-Type: Show contents of .pac files"
  65. Match = "application/x-ns-proxy-autoconfig"
  66. Replace = "text/plain"
  67.  
  68. In = FALSE
  69. Out = FALSE
  70. Key = "Content-Type: View RealAudio links"
  71. Match = "*realaudio*"
  72. Replace = "text/html"
  73.  
  74. In = FALSE
  75. Out = FALSE
  76. Key = "Cookie: Fake a cookie (out)"
  77. Match = "*"
  78. Replace = "monster"
  79.  
  80. In = FALSE
  81. Out = FALSE
  82. Key = "Cookie: Kill a cookie (out)"
  83. Match = "*"
  84.  
  85. In = FALSE
  86. Out = FALSE
  87. Key = "Forwarded:"
  88. Replace = "\h"
  89.  
  90. In = FALSE
  91. Out = FALSE
  92. Key = "If-Modified-Since: Always reload pages (Out)"
  93. Match = "*"
  94.  
  95. In = FALSE
  96. Out = FALSE
  97. Key = "Last-Modified: (In)"
  98. Match = "*"
  99.  
  100. In = FALSE
  101. Out = FALSE
  102. Key = "Pragma: Don't force reloads"
  103. Match = "no-cache"
  104.  
  105. In = FALSE
  106. Out = FALSE
  107. Key = "Proxy-Authorization: Send password to proxy server"
  108. Replace = "basic cHJveHl1c2VyOnByb3h5cGFzcw=="
  109.  
  110. In = FALSE
  111. Out = TRUE
  112. Key = "Referer: Hide where we've been (Out)"
  113. Match = "*"
  114. Replace = "\u"
  115.  
  116. In = FALSE
  117. Out = FALSE
  118. Key = "Set-cookie: Never accept cookies (In)"
  119. Match = "*"
  120.  
  121. In = FALSE
  122. Out = TRUE
  123. Key = "URL-Killer: kill-a-URL (out)"
  124. URL = "adex*flycast|*burstnet.com"
  125. Replace = "This connection has been axed\k"
  126.  
  127. In = FALSE
  128. Out = TRUE
  129. Key = "User-Agent:"
  130. Match = "*"
  131. Replace = "SpaceBison/0.01 [fu] (Win67; X; ShonenKnife)"
  132.  
  133. In = FALSE
  134. Out = FALSE
  135. Key = "WWW-Authenticate: filter out password requests (in)"
  136. Match = "Basic*realm="*""
  137.  
  138. In = FALSE
  139. Out = FALSE
  140. Key = "X-Forwarded-For:"
  141. Replace = "yahoo.com, microsoft.com, netscape.com, aol.com, \h"
  142.  
  143.  
  144. [Patterns]
  145. Name = "Banner Replacer"
  146. Active = FALSE
  147. Bounds = "<a\s*</a>"
  148. Limit = 800
  149. Match = "\0<img (\1border=\w|) \2 src=\w (\3border=\w|) \4"
  150.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  151.         "(*width=[#460-480] & *height=[#55-60])|"
  152.         "(*width=[#88] & *height=[#31]))*"
  153. Replace = "\0<img \1 border=1 \2 src=\dclear.gif \3 \4"
  154.  
  155. Name = "Banner Blaster (limit text)"
  156. Active = TRUE
  157. Multi = TRUE
  158. Bounds = "<a\s*</a>|<input*>"
  159. Limit = 800
  160. Match = "\1<(img|image|input)*>\3"
  161.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  162.         "*http://*<im(g|age)\s(*width=[#460-480] & *height=[#55-60]|"
  163.         "*width=[#88] & *height=[#31]|"
  164.         "*src=\w(cgi|\?)\w) *>)*"
  165.         "&(*alt="(([^" ]+\s[^" ]+\s[^" ]+\s[^" ]+)\2\s*|\2)"|)"
  166. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  167.  
  168. Name = "Banner Blaster (full text)"
  169. Active = FALSE
  170. Multi = TRUE
  171. Bounds = "<a\s*</a>|<input*>"
  172. Limit = 800
  173. Match = "\1<(img|image|input)*>\3"
  174.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  175.         "*http://*<img\s(*width=[#460-480] & *height=[#55-60]|"
  176.         "*width=[#88] & *height=[#31]|"
  177.         "*src=\wcgi\w) *>)*"
  178.         "&(*alt="\2"|)"
  179. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  180.  
  181. Name = "Area Map Ad Blaster"
  182. Active = TRUE
  183. Multi = TRUE
  184. Bounds = "<img\s[^>]+> <map\s*</map>"
  185. Limit = 800
  186. Match = "<img*usemap*>*"
  187.         "&*(ads.|log_click|/ad|clickthru|(banner|ad|acct|source|click)(id|)=|adbanner|clicker|sponsor|adver|promo|redirect)*"
  188.         "&*<map*<area (*href=(\w)\1 & (*alt="\2'|))*>\3</map>"
  189. Replace = "<br><killmap><font size=1><a href=\1>[\2]</a></font>\3</killmap>"
  190.  
  191. Name = "Area Map Ad Blaster pt2 (show all links)"
  192. Active = TRUE
  193. Multi = TRUE
  194. Bounds = "<killmap>*</killmap>"
  195. Limit = 800
  196. Match = "\1 <area (*href=(\w)\2 & (*alt="(?????????????)\3*|\3'|))*> \4"
  197. Replace = " \1 <font size=1><a href=\2 >[\3]</a></font> \4 "
  198.  
  199. Name = "Kill JavaScript Banners"
  200. Active = TRUE
  201. Bounds = "<script*</script>"
  202. Limit = 5000
  203. Match = "*(doubleclick|flycast|burstnet)*|"
  204.         "(*document.write*<img*</a>*&*/ads/*)"
  205. Replace="<!-- JS Banner Killed -->"
  206.  
  207. Name = "Kill Hyper Banner"
  208. Active = TRUE
  209. Bounds = "<applet\s*</applet>"
  210. Limit = 5000
  211. Match = "*code=("|)(movie|WSSApplet|hyper).class*"
  212. Replace = "<font size=1>[JavaApp Killed]</font><br>"
  213.  
  214. Name = "Counter Killer"
  215. Active = FALSE
  216. Bounds = "<img\s*>"
  217. Limit = 256
  218. Match = "*src=("|)(\wcount|http://\w(cgi-bin|\?))*"
  219. Replace = " <font size=1>[000]</font> "
  220.  
  221. Name = "Webpage Background Killer"
  222. Active = FALSE
  223. Multi = TRUE
  224. Limit = 200
  225. Match = "<body \1background=\2>"
  226. Replace = "<body \1nobak=\2>"
  227.  
  228. Name = "Webpage Background Replacer"
  229. Active = FALSE
  230. Multi = TRUE
  231. Limit = 200
  232. Match = "<body ( \1 background=\w|) \2>"
  233. Replace = "<body \1 background="\dblack.gif" \2>"
  234.  
  235. Name = "Kill All Backgrounds (even tables)"
  236. Active = FALSE
  237. Limit = 20
  238. Match = "background="
  239. Replace = "nobak="
  240.  
  241. Name = "Sounds to links"
  242. Active = FALSE
  243. Bounds = "<embed\s*>|<bgsound\s*>"
  244. Limit = 256
  245. Match = "*src=("*'|\w)\1&(*type=(\w)\2|)*"
  246. Replace = "<a href=\1 >[\2]</a>"
  247.  
  248. Name = "Sound Silencer"
  249. Active = FALSE
  250. Limit = 20
  251. Match = "<(embed|bgsound)\s"
  252. Replace = "<keepquiet "
  253.  
  254. Name = "Embedded MIDI Silencer"
  255. Active = TRUE
  256. Bounds = "<embed\s*>"
  257. Limit = 256
  258. Match = "*src=("*'|\w)\1&(*(type=\w)\2|)*"
  259. Replace = "<embed src=\1 height=15 controls="smallconsole" \2 >"
  260.  
  261. Name = "Blink Buster (Blink to Bold)"
  262. Active = TRUE
  263. Limit = 20
  264. Match = "<(/|)\1blink>"
  265. Replace = "<\1b>"
  266.  
  267. Name = "Freeze font's face"
  268. Active = FALSE
  269. Limit = 80
  270. Match = "<font\s\1face=\2>"
  271. Replace = "<font \1ecaf=\2>"
  272.  
  273. Name = "Onload unloader"
  274. Active = FALSE
  275. Limit = 20
  276. Match = "onload="
  277. Replace = "LoadOff="
  278.  
  279. Name = "OnUnload unloader"
  280. Active = TRUE
  281. Multi = TRUE
  282. Bounds = "<body\s*>"
  283. Limit = 300
  284. Match = "\1 onunload=\2"
  285. Replace = "\1 UnLoadOff=\2"
  286.  
  287. Name = "Kill All pop-up windows"
  288. Active = TRUE
  289. Limit = 4096
  290. Match = "<start>"
  291. Replace = "<script> "
  292.           "PrxRealOpen=window.open; "
  293.           "function PrxNullWin(){this.window;} "
  294.           "function PrxOpen(url,nam,atr){return(new PrxNullWin());} "
  295.           "window.open=PrxOpen;"
  296.           "</script>\r\n"
  297.  
  298. Name = "Restore pop-up windows after page loads"
  299. Active = TRUE
  300. Limit = 256
  301. Match = "<end>"
  302. Replace = "<script> window.open=PrxRealOpen; </script>\r\n"
  303.  
  304. Name = "Link De-Obfuscator"
  305. Active = TRUE
  306. Limit = 50
  307. Match = "onmouseover=("*.status=)\1"
  308. Replace = "nomouseover=\1"
  309.  
  310. Name = "Anti-Auto-Refresher"
  311. Active = FALSE
  312. Bounds = "<meta\s*>"
  313. Limit = 200
  314. Match = "*http-equiv=("|)refresh(*url=([^"' ]+)\1|)*"
  315. Replace = "<center><font size=1><a href=\1 >[Refresh]</a></font></center>"
  316.  
  317. Name = "Wordwrap all form textboxes"
  318. Active = TRUE
  319. Limit = 128
  320. Match = "<textarea\s\1>"
  321. Replace = "<textarea wrap=soft \1>"
  322.  
  323. Name = "GeoCities branding killer"
  324. Active = FALSE
  325. URL = "*.geocities."
  326. Limit = 2500
  327. Match = "<div class="geobranding*</script>"
  328. Replace = "<font size=1>[GeoBrand killed]</font>"
  329.  
  330. Name = "Kill add-on JavaScripts "
  331. Active = TRUE
  332. Multi = TRUE
  333. Bounds = "</body>*</script>"
  334. Limit = 1024
  335. Match = "\1<script*"
  336. Replace = "<font size=1>[PostScript Killed]</font><br>\r\n"
  337.           "\1\n"
  338.  
  339. Name = "Suppress all JavaScript errors"
  340. Active = TRUE
  341. Limit = 4096
  342. Match = "<start>"
  343. Replace = "<script> function NoError(){return(true);} onerror=NoError; </script>\n"
  344.  
  345. Name = "Kill alert/confirm boxes"
  346. Active = TRUE
  347. Multi = TRUE
  348. Limit = 4096
  349. Match = "<start>"
  350. Replace = "<script> "
  351.           "function NoBox(txt){ return(1);} "
  352.           "window.alert=NoBox; window.confirm=NoBox; "
  353.           "</script>\n"
  354.  
  355. Name = "Stop status bar scrollers"
  356. Active = FALSE
  357. Limit = 4096
  358. Match = "<start>"
  359. Replace = "<script> function status(txt){return(1);} </script>\n"
  360.  
  361. Name = "Kill Dynamic HTML JavaScripts"
  362. Active = FALSE
  363. Limit = 4096
  364. Match = "<start>"
  365. Replace = "<script> function NoWrite(txt){return(1);} "
  366.           "document.write=NoWrite; "
  367.           "document.writeln=NoWrite; "
  368.           "</script>\n"
  369.  
  370. Name = "Stop JavaScript Timers"
  371. Active = TRUE
  372. Limit = 4096
  373. Match = "<start>"
  374. Replace = "<script> function setTimeout(x,y){return(null);} </script>\n"
  375.  
  376. Name = "Disable JavaScript"
  377. Active = FALSE
  378. Limit = 256
  379. Match = "<script*>"
  380. Replace = "<script language="ShonenScript 712.0">"
  381.  
  382. Name = "Kill Nosey JavaScripts"
  383. Active = FALSE
  384. Bounds = "<script*</script>"
  385. Limit = 16000
  386. Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*"
  387. Replace = "<!-- Killed Nosey JavaScript -->"
  388.  
  389. Name = "Disable JavaScript cookies"
  390. Active = FALSE
  391. Limit = 128
  392. Match = ".cookie(*[(;)])\1"
  393. Replace = ".Cracker\1"
  394.  
  395. Name = "Hide Browser's Referrer from JS"
  396. Active = TRUE
  397. Limit = 15
  398. Match = ".referrer"
  399. Replace = ".referrer.substr(0,0)+"http://www.mmjp.or.jp/knife/""
  400.  
  401. Name = "Hide Browser's Version from JS"
  402. Active = TRUE
  403. Limit = 25
  404. Match = "navigator.appVersion"
  405. Replace = "'2.1'"
  406.  
  407. Name = "Hide Browser's Identity from JS"
  408. Active = FALSE
  409. Limit = 25
  410. Match = "navigator.(appName|userAgent)"
  411. Replace = "'ShonenScape'"
  412.  
  413. Name = "Kill the worst Pop-Up windows"
  414. Active = FALSE
  415. Multi = TRUE
  416. Bounds = "<script*</script>"
  417. Limit = 1024
  418. Match = "\1(window.open|open) \(\2"
  419. Replace = "\n\1 null; foo=(\2"
  420.  
  421. Name = "Kill window.external methods"
  422. Active = TRUE
  423. Limit = 40
  424. Match = "window.external.[^(]+"
  425. Replace = "null; "
  426.  
  427. Name = "Stop OnMouseOver events"
  428. Active = FALSE
  429. Limit = 20
  430. Match = "onmouseover="
  431. Replace = "OnPheasantOver="
  432.  
  433. Name = "Frame Jumper-Outer"
  434. Active = TRUE
  435. Multi = TRUE
  436. Bounds = "<a\s*>"
  437. Limit = 128
  438. Match = "<a\s\0 (href=("|)http:\w)\1 \2>"
  439. Replace = "<a target=_top \0 \1 \2>"
  440.  
  441. Name = "Kill Style Sheets"
  442. Active = FALSE
  443. Limit = 4096
  444. Match = "<style*</style>"
  445. Replace = "<!-- style sheet killed -->"
  446.  
  447. Name = "Kill Layers"
  448. Active = TRUE
  449. Limit = 20
  450. Match = "<(/|)\1(layer|ilayer)"
  451. Replace = "<\1PeelLayer"
  452.  
  453. Name = "iFrame/iLayer to link"
  454. Active = FALSE
  455. Bounds = "<iframe\s*</iframe>|<ilayer\s*</ilayer>"
  456. Limit = 1000
  457. Match = "<(iframe|ilayer)\0*src=(\w)\1*"
  458. Replace = "<font size=1><a target=_blank href=\1 >[\0]</a></font>"
  459.  
  460. Name = "Frame Exploder"
  461. Active = FALSE
  462. Multi = TRUE
  463. Limit = 4096
  464. Match = "<start>"
  465. Replace = "<script> "
  466.           "if (top.location != location){"
  467.           "window.open(location.href); window.close(); "
  468.           "} </script>"
  469.  
  470. Name = "Allow for frame resizing"
  471. Active = FALSE
  472. Bounds = "<frame*>"
  473. Limit = 256
  474. Match = "<(frameset|frame)\0\s ("
  475.         "(*((rows|cols)=("*"|\w))\1|)&(*(name=("*"|\w))\2|)"
  476.         "&(*(src=\w)\3|)&(*(scrolling=\w)\4|)"
  477.         "&(*(marginwidth=\w)\5|)&(*(marginheight=\w)\6|))*>"
  478. Replace = "<\0 \1 \2 \3 \4 \5 \6 border="1" >"
  479.  
  480. Name = "DeFramer"
  481. Active = FALSE
  482. Limit = 40
  483. Match = "<(/|)\1(frameset|noframes)"
  484. Replace = "<\1NoFrameset"
  485.  
  486. Name = "Convert Frames to Links"
  487. Active = FALSE
  488. Limit = 256
  489. Match = "<frame\s*src=(\w)\1 *>"
  490. Replace = "<body><font size=2><a href=\1>Frame:\1</a></font><br></body>"
  491.  
  492. Name = "DeTabler"
  493. Active = FALSE
  494. Limit = 200
  495. Match = "<(/|)t(able|r)*>"
  496. Replace = "<p>"
  497.  
  498. Name = "Table width unlimiter"
  499. Active = FALSE
  500. Limit = 256
  501. Match = "<(table|td)\0\s\1width=[#500-*]\2>"
  502. Replace = "<\0 \1\2>"
  503.  
  504. Name = "Skinnier Table Border"
  505. Active = FALSE
  506. Limit = 128
  507. Match = "<table\s\1border=[#4-*]\2>"
  508. Replace = "<table \1border=3\2>"
  509.  
  510. Name = "Foreign content-type filter"
  511. Active = FALSE
  512. Bounds = "<meta\s*>"
  513. Limit = 256
  514. Match = "*http-equiv="content-type"*charset=*"
  515. Replace = "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">"
  516.  
  517.  
  518. [Proxies]
  519.  
  520.  
  521.